package com.qh.resourcehub.program.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qh.resourcehub.program.dto.SourceCodeAuditDto;
import com.qh.resourcehub.program.entity.SourceCodeAuditDO;
import com.qh.resourcehub.program.vo.SourceCodeAuditVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SourceCodeAuditMapper extends BaseMapper<SourceCodeAuditDO> {
    List<SourceCodeAuditVo> querySourceCodeAuditData(SourceCodeAuditDto sourceCodeAuditDto);

    List<SourceCodeAuditVo> querySourceCodeAuditExamineData(SourceCodeAuditDto sourceCodeAuditDto);

    List<SourceCodeAuditVo> querySourceCodeAuditExamineHistoryData(SourceCodeAuditDto sourceCodeAuditDto);

    int ApplicationSave(SourceCodeAuditDto sourceCodeAuditDto);

    int ApplicationUpdata(SourceCodeAuditDto sourceCodeAuditDto);

    int Applicationdel(SourceCodeAuditDto sourceCodeAuditDto);

    int ApplicationSubmit(SourceCodeAuditDto sourceCodeAuditDto);

    int ApplicationWithdraw(SourceCodeAuditDto sourceCodeAuditDto);

    int ApplicationPass(SourceCodeAuditDto sourceCodeAuditDto);

    int ApplicationReject(SourceCodeAuditDto sourceCodeAuditDto);
}